package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分销商等级对象 jt_distributor_level
 * 
 * @author Alan Zhang
 * @date 2025-06-17
 */
public class JtDistributorLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 等级id */
    private Long levelId;

    /** 名称 */
    @Excel(name = "名称")
    private String levelName;

    /** 等级 */
    @Excel(name = "等级")
    private Long levelValue;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderAmount;

    /** 订单数 */
    @Excel(name = "订单数")
    private Long orderCount;

    /** 比例 */
    @Excel(name = "比例")
    private BigDecimal commissionRate;

    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }

    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }

    public void setLevelValue(Long levelValue) 
    {
        this.levelValue = levelValue;
    }

    public Long getLevelValue() 
    {
        return levelValue;
    }

    public void setOrderAmount(BigDecimal orderAmount) 
    {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getOrderAmount() 
    {
        return orderAmount;
    }

    public void setOrderCount(Long orderCount) 
    {
        this.orderCount = orderCount;
    }

    public Long getOrderCount() 
    {
        return orderCount;
    }

    public void setCommissionRate(BigDecimal commissionRate) 
    {
        this.commissionRate = commissionRate;
    }

    public BigDecimal getCommissionRate() 
    {
        return commissionRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelName", getLevelName())
            .append("levelValue", getLevelValue())
            .append("orderAmount", getOrderAmount())
            .append("orderCount", getOrderCount())
            .append("commissionRate", getCommissionRate())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
